<?php
$string = 'Weekdays  php';
echo "\n";

$i=0;
while(isset($string[++$i])){

}
//for($count=$i-1 ; $count>=0; $count--) {
 //echo $string[$count];
//}

//while($i){ echo $string[--$i]; }

while($i--){ echo $string[$i]; }
